package com.lbs.jiepiaisi.bean;

import com.google.gson.annotations.SerializedName;
import com.lbs.jiepiaisi.base.BaseResponseEntity;

import java.io.Serializable;

/**
 * Created by yu on 2019-12-30 11:28.
 * Description: 账号登录Bean
 */
public class AccountLoginBean extends BaseResponseEntity {

    public Result getResult() {
        return result;
    }
    public void setResult(Result result) {
        this.result = result;
    }

    private Result result;

    public static class Result implements Serializable {
        public String getUserId() {
            return userId;
        }
        public void setUserId(String userId) {
            this.userId = userId;
        }

        public String getUserName() {
            return userName;
        }
        public void setUserName(String userName) {
            this.userName = userName;
        }

        public Dept getDept() {
            return dept;
        }
        public void setDept(Dept dept) {
            this.dept = dept;
        }

        private String userId;
        private String userName;
        @SerializedName("efDepartment")
        private Dept dept;

        public static class Dept implements Serializable {

            public String getDeptId() {
                return deptId;
            }
            public void setDeptId(String deptId) {
                this.deptId = deptId;
            }

            public String getDeptName() {
                return deptName;
            }
            public void setDeptName(String deptName) {
                this.deptName = deptName;
            }

            public String getParentDeptId() {
                return parentDeptId;
            }
            public void setParentDeptId(String parentDeptId) {
                this.parentDeptId = parentDeptId;
            }

            private String deptId;
            private String deptName;
            private String parentDeptId;
        }
    }
}
